﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master"
    AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="Jzy.Web.SiteAdmin.Menu.Edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 90px;
            height: 25px;
            text-align: right;
        }
        .style2 .style4
        {
        }
        .style3
        {
            width: 90px;
            height: 25px;
            text-align: right;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="pnlMain" runat="server" Width="100%">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;" align="center">
            <tr>
                <td class="style1">
                    <asp:Label ID="Label3" runat="server" Text="上级栏目："></asp:Label>
                </td>
                <td class="style2">
                    <asp:Label ID="lblUpperName" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                    <asp:HiddenField ID="UpperID" runat="server" />
                </td>
                <td class="style3">
                </td>
                <td class="style4">
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color: Red">*</span>&nbsp;<asp:Label ID="Label1" runat="server" Text="栏目名称："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Name" CssClass="txt" runat="server" Width="120px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                        ErrorMessage="请输入栏目名" Display="None"></asp:RequiredFieldValidator>
                </td>
                <td class="style3">
                    <span style="color: Red">*</span>&nbsp;<asp:Label ID="Label2" runat="server" Text="栏目编号："></asp:Label>
                </td>
                <td class="style4">
                    <asp:TextBox ID="Code" CssClass="txt" runat="server" Width="80px"></asp:TextBox><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3" runat="server" ErrorMessage="请输入编号" ControlToValidate="Code"
                        Display="None"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color: Red">*</span>&nbsp;<asp:Label ID="Label4" runat="server" Text="栏目类型："></asp:Label>
                </td>
                <td class="style2">
                    <asp:DropDownList ID="TypeID" runat="server" Width="119px">
                    </asp:DropDownList>
                </td>
                <td class="style3">
                    <span style="color: Red">*</span>&nbsp;<asp:Label ID="Label5" runat="server" Text="排序："></asp:Label>
                </td>
                <td class="style4">
                    <asp:TextBox ID="Orders" CssClass="txt" runat="server" Width="80px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Orders"
                        ErrorMessage="数字格式不正确" ValidationExpression="-?\d*" Display="None" SetFocusOnError="True"></asp:RegularExpressionValidator>&nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Orders"
                        Display="None" ErrorMessage="排序不能为空" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    文章小图尺寸：
                </td>
                <td class="style2">
                    <asp:TextBox ID="ArticleSmallImageSize" runat="server" CssClass="txt" Width="120px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="ArticleSmallImageSize"
                        ErrorMessage="格式不正确" ValidationExpression="\d*" Display="None" SetFocusOnError="True"></asp:RegularExpressionValidator>
                </td>
                <td class="style3">
                    文章大图尺寸：
                </td>
                <td class="style4">
                    <asp:TextBox ID="ArticleBigImageSize" runat="server" CssClass="txt" Width="80px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="ArticleBigImageSize"
                        ErrorMessage="格式不正确" ValidationExpression="\d*" Display="None" SetFocusOnError="True"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    附件小图尺寸：
                </td>
                <td class="style2">
                    <asp:TextBox ID="PicSallImageSize" runat="server" CssClass="txt" Width="120px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="PicSallImageSize"
                        ErrorMessage="格式不正确" ValidationExpression="\d*" Display="None" SetFocusOnError="True"></asp:RegularExpressionValidator>
                </td>
                <td class="style3">
                    附件大图尺寸：
                </td>
                <td class="style4">
                    <asp:TextBox ID="PicBigImageSize" runat="server" CssClass="txt" Width="80px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="PicBigImageSize"
                        ErrorMessage="格式不正确" ValidationExpression="\d*" Display="None" SetFocusOnError="True"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                </td>
                <td class="style2">
                    <asp:CheckBox ID="PicSaveOrignImage" runat="server" Text="保存附件原图" />
                </td>
                <td class="style3">
                </td>
                <td class="style4">
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
</asp:Content>
